package com.sskj.cndragon.bean;

import java.util.ArrayList;
import java.util.List;

public class AssetListBean {
    private List<AssetBean> list;

    public List<AssetBean> getList() {
        if (list == null) {
            return new ArrayList<>();
        }
        return list;
    }

    public void setList(List<AssetBean> list) {
        this.list = list;
    }

    public class AssetBean {

        /**
         * id : 19957
         * stockUserId : 197
         * coinType : 2
         * money : 10.0
         * moneyBefore : 5.0
         * moneyAfter : 15.0
         * detail : 抽奖获取
         * type : 7
         * typeId : 35
         * createTime : 1556170440000
         * isDeleted : false
         * timestamp : 1556170440000
         */

        private String id;
        private String stockUserId;
        private String money;
        private double moneyBefore;
        private double moneyAfter;
        private String detail;
        private long createTime;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStockUserId() {
            return stockUserId == null ? "" : stockUserId;
        }

        public void setStockUserId(String stockUserId) {
            this.stockUserId = stockUserId;
        }

        public String getMoney() {
            return money == null ? "" : money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public double getMoneyBefore() {
            return moneyBefore;
        }

        public void setMoneyBefore(double moneyBefore) {
            this.moneyBefore = moneyBefore;
        }

        public double getMoneyAfter() {
            return moneyAfter;
        }

        public void setMoneyAfter(double moneyAfter) {
            this.moneyAfter = moneyAfter;
        }

        public String getDetail() {
            return detail == null ? "" : detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }
    }


}
